using System;
using FluentNHibernate.Mapping;
using Kollektiv.DB.NHibernate;

namespace Kollektiv.DataModel.NHibernate
{
	public class SessionMap:DataObjectMap<Session>
	{
		public SessionMap ():base()
		{
			References<User> (x => x.Owner).Not.Nullable ();
			Map (x => x.CreationTime).Not.Nullable ();
			Map (x => x.LastActivityTime).Not.Nullable ();
		}
	}
}

